import request from "../utils/index";

export const register = (data) => {
  return request.post("/user/register", data);
};
export const login = (data) => {
  return request.post("/user/login", data);
};
export const getUserInfo = (obj) => {
  return request.get("/interview/query", {
    params: { current: obj.current, sorter: obj.sorter, pageSize: 10 },
  });
};
